package com.longcai.cm.api.response;

import com.longcai.cm.bean.Page;
import com.longcai.cm.domain.JaOrder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author libingxing
 */
@Data
public class ShopOrderViewModel {

    @ApiModelProperty("订单列表")
    private Page<List<JaOrder>> orderList;

    @ApiModelProperty("订单流水")
    private BigDecimal totalIncome;

    @ApiModelProperty("订单总数量")
    private Integer orderTotal = 0;

    @ApiModelProperty("订单已核销")
    private Long orderChecked = 0L;

    @ApiModelProperty("订单未核销")
    private Long orderUnchecked = 0L;
}
